<?php include('header.php'); ?>
<style type="text/css">
    .wrap {
        margin: 0 auto;
        overflow: visible;
        width: 950px;
    }
#leavewordlist ul { background-color: #FCFCFC;border: 1px solid #4EA5E4;margin-bottom: 5px;overflow: hidden;padding: 2px;text-align: left;width: 944px;}
p, img, ul, li {list-style: none outside none;}
#leavewordlist li.topwords {color: #333333;font-size: 14px;line-height: 25px;padding: 0 5px 0 30px;text-align: right;}
#leavewordlist li {overflow: hidden;word-break: normal;word-wrap: break-word;}
p, img, ul, li {list-style: none outside none;margin: 0;}
#leavewordlist li.words {color: #333333;font-size: 14px;line-height: 120%;padding: 8px;text-indent: 24px;}
#leavewordlist li span {float: left;}
#leavewordlist li strong {color: #027DB9;font-weight: 600;padding: 0 5px;}
</style>
<div class="blank5"></div>
<div class="blank5"></div>
<div class="blank5"></div>
<div class="wrap">

    <div>
        <form action="<?=config_item('i_base_url');?>msg/submit" method="post" name="messages">
        用户名称:&nbsp;<input type="text" name="username" size="80" value="匿名"/> <br/> <br/>
        留言内容:&nbsp;<textarea rows="6" cols="80" name="content"></textarea> <br/> <br/>
        <input type="submit" value="提交留言"/> <br/> <br/>
        </form>
    </div>

    <div align="center" id="leavewordlist" style="display: inline;">

        <?php foreach ($data as $v): ?>
        <ul>
            <li class="topwords"><span><strong>匿名</strong> 发表于 <?=$v['create_time'];?></span>第<?=$v['id'];?>楼</li>
            <li class="words"><?=$v['content'];?></li>
        </ul>
        <?php endforeach;?>
        </div>
    <div class="page">
    <?=$page_html;?>
    </div>

</div>
<div class="blank5"></div>
<br/>
<?php include('footer.php'); ?>